var globals = {

    applicationName: undefined,
    
    r: null,
    overviewR: null,

    canvas: {
             height: null,
             width: null
            },

    tree: {},

    treeId: undefined,

    pathObjs: { main: { tree: null,
                        supportValue: null },

                overview: { tree: null,
                            supportValue: null } },

    pathStrings: { main: { tree: new StringBuffer(),
                           supportValue: new StringBuffer() },

                   overview: { tree: new StringBuffer(),
                               supportValue: new StringBuffer() } },

    labelInfo: { labels: { },
                 labelsToAdd: [ ],
                 visible: { all: true, tips: true, internal: true }  },

    expandable: { main: {}, overview: {} },

    selectedClades: { main: { }, scaled: { } },

    treeInfo:  {
                tips: undefined,
                longestTraversal: undefined,
                rootLabelLength: undefined,
                generations: undefined,
                longestChildLabel: undefined,
                longestChildName: undefined,
                exampleLabelHeight: undefined,
               },


    lengthMultiplier: null,

    currentEvents: { movingLens: false,
                     dragging: false,
                     loadingLabels: false,
                     mouseDown: false,
                     shiftDown: false },

    overviewScale: { x: 0, y: 0 },

    cladeButton: null,

    lastMouseMove: { x: null, y: null },

    draggerOrigin: { x: null, y: null },

    scaling: '{{=scaling}}',

    topologicalSort: true,
    
    numericEntriesVisible: true,

    scrollBarWidth: 0,

    scaledBranches: null,

    supportValueInfo: { showOption: false,
                        lastSupportValue: undefined,
                        threshold: undefined,
                        thickness: undefined },

    selectedCladeColor: "#00FF66"
};
